﻿/*
SINACOR - BMF&Bovespa
Arquivo: INegocioAnulado.cs
Criado em: 14-jul-2010 13:25:25
Arquiteto Responsável: p-ksantos
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.ServiceModel;
using System.ComponentModel;
using Sinacor.Infra.Common.Exceptions;
using Sinacor.Infra.Service.ExceptionHandling;
using Sinacor.Infra.Service.Security.Services;
using Sinacor.Infra.Common.Exceptions.FaultContracts;


namespace Sinacor.Servico.Bovespa.Alocacao.Service.ServiceContract 
{
	[ExceptionShielding]
	[ServiceContract(Namespace = "http://www.bovespa.com.br/Sinacor.Servico.Bovespa.Alocacao.Service.ServiceContract", SessionMode = SessionMode.Allowed)]
	public interface INegocioAnulado 
	{
		/// <summary>
		/// Disponibiliza uma lista de negócios anulados.
		/// </summary>
		/// <param name="request"></param>
		[FaultContract(typeof(BusinessFault))]
		[FaultContract(typeof(ValidationFault))]
		[FaultContract(typeof(GeneralFault))]
		[FaultContract(typeof(Sinacor.Infra.Common.Exceptions.FaultContracts.InvalidSessionFault))]
		[FaultContract(typeof(Sinacor.Infra.Common.Exceptions.FaultContracts.LicensingFault))]
		[FaultContract(typeof(Sinacor.Infra.Common.Exceptions.FaultContracts.AccessIsDeniedFault))]
		[OperationContract(IsTerminating = false, IsInitiating = true, IsOneWay = false, Action = "ConsultarNegociosAnulados")]
		List<DataContract.Response.NegocioAnuladoResponse> ConsultarNegociosAnulados(DataContract.Request.FiltroNegocioAnuladoRequest request);
	}

}